package com.youbug.mall.product_pms.service;

import com.youbug.mall.product_pms.entity.PmsSpuInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youbug.common.vo.QueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.youbug.mall.product_pms.vo.SpuSaveVo;

/**
 * <p>
 * spu信息 服务类
 * </p>
 *
 * @author youbug
 * @since 2024-04-21
 */
public interface IPmsSpuInfoService extends IService<PmsSpuInfo> {

    IPage<PmsSpuInfo> getPmsSpuInfoPage(QueryVo<PmsSpuInfo> queryVo);

    boolean saveSpuInfo(SpuSaveVo vo);

    Boolean up(Long spuId);

    Boolean down(Long spuId);

    PmsSpuInfo getSpuInfoBySkuId(Long skuId);

    boolean removeSpu(Long skuId);
}
